package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.RyIncomemanagementKplMapper;
import com.ruoyi.system.domain.RyIncomemanagementKpl;
import com.ruoyi.system.service.IRyIncomemanagementKplService;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-09-23
 */
@Service
public class RyIncomemanagementKplServiceImpl implements IRyIncomemanagementKplService 
{
    @Autowired
    private RyIncomemanagementKplMapper ryIncomemanagementKplMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param id 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public RyIncomemanagementKpl selectRyIncomemanagementKplById(Long id)
    {
        return ryIncomemanagementKplMapper.selectRyIncomemanagementKplById(id);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param ryIncomemanagementKpl 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<RyIncomemanagementKpl> selectRyIncomemanagementKplList(RyIncomemanagementKpl ryIncomemanagementKpl)
    {
        return ryIncomemanagementKplMapper.selectRyIncomemanagementKplList(ryIncomemanagementKpl);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param ryIncomemanagementKpl 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertRyIncomemanagementKpl(RyIncomemanagementKpl ryIncomemanagementKpl)
    {
        return ryIncomemanagementKplMapper.insertRyIncomemanagementKpl(ryIncomemanagementKpl);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param ryIncomemanagementKpl 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateRyIncomemanagementKpl(RyIncomemanagementKpl ryIncomemanagementKpl)
    {
        return ryIncomemanagementKplMapper.updateRyIncomemanagementKpl(ryIncomemanagementKpl);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param ids 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteRyIncomemanagementKplByIds(Long[] ids)
    {
        return ryIncomemanagementKplMapper.deleteRyIncomemanagementKplByIds(ids);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param id 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteRyIncomemanagementKplById(Long id)
    {
        return ryIncomemanagementKplMapper.deleteRyIncomemanagementKplById(id);
    }
}
